<?php

declare(strict_types=1);

namespace app\model;

use think\Model;

class PlatformBalance extends Model
{
    protected $name = 'platform_balance';

    protected $autoWriteTimestamp = 'datetime';

    public function logs()
    {
        return $this->hasMany(PlatformBalanceLog::class, 'balance_id');
    }
}
